/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.hutech09.jsale.web.product;

import java.util.ArrayList;
import java.util.List;
import javax.ejb.EJB;
import org.hutech09.jsale.bsn.IProductManager;
import org.hutech09.jsale.bsn.exception.ItemNotFoundException;
import org.hutech09.jsale.entity.InfoType;
import org.hutech09.jsale.entity.Product;
import org.hutech09.jsale.entity.ProductDetail;
import org.hutech09.jsale.entity.ProductImage;

/**
 *
 * @author abc
 */
public class productDetail {
   
    private Product  product;
    private List<String> listimage = new ArrayList<String>();
    private String image;
    private Long price;
    private List<ProductDetail> listdetail = new ArrayList<ProductDetail>();

    public List<ProductDetail> getListdetail() {
        return listdetail;
    }

    public void setListdetail(List<ProductDetail> listdetail) {
        this.listdetail = listdetail;
    }

    
       public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }
    

    public String getImage() throws ItemNotFoundException {
     
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
    
    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public List<String> getListimage() {
          return listimage;
    }

    public void setListimage(List<String> listimage) {
        this.listimage = listimage;
    }
    
}
